/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 *
package objectcreate;

/**
 *
 * @author Student
 
public class Person {
    private String ssn;
    private String firstName;
    private String lastName;

    Person()
            {
                ssn="";
                firstName="";
                lastName="";
            }
    Person(String f, String l, String s)
    {
        firstName = f;
        lastName = l;
        ssn = s;
    }
    
    public String getssn()
            {
                return getSsn();
            }
    public void setssn(String s)
        {
            setSsn(s);
        }
    public String getFirstName()
            {
                return firstName;
            }
    public void setFirstName(String f)
        {
            firstName=f;
        }

    public String getSsn() {
        return ssn;
    }

    public void setSsn(String ssn) {
        this.ssn = ssn;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
        
    }
    public String print()
            {
                return firstName+" "+lastName+" "+ssn;
            }
    /* Person p=new Person();
        p.setFirstName("Bob");
        p.setLastName("Jordon");
        p.setSsn("123-12-23");
        System.out.println(p.print());*
}*/
